package com.ease.integration.definition.vo;

import java.io.Serializable;

public class IntegrationServiceDefinition implements Serializable {

	/**
	 *
	 */
	private static final long serialVersionUID = 6905125451538647810L;

	/** 名称,供内部调用时识别用 */
	private String key;

	/**
	 * 对外公开的名称
	 */
	private String externalServiceName;

	/**
	 * 描述
	 */
	private String discription;

	/**
	 * 调用的bean名称
	 */
	private String integrationServiceBeanName;

	/**
	 * 调用的bean的方法名
	 */
	private String integrationServiceBeanMethodName;

	/**
	 * 调用web service的URL
	 */
	private String wsURL;

	/**
	 * 请求消息定义
	 */
	private IntegrationMessageDefinition requestMessageDefinition;

	/**
	 * 响应消息定义
	 */
	private IntegrationMessageDefinition responseMessageDefinition;

	/**
	 * @return the key
	 */
	public String getKey() {
		return key;
	}

	/**
	 * @param key
	 *            the key to set
	 */
	public void setKey(String key) {
		this.key = key;
	}

	/**
	 * @return the externalServiceName
	 */
	public String getExternalServiceName() {
		return externalServiceName;
	}

	/**
	 * @param externalServiceName
	 *            the externalServiceName to set
	 */
	public void setExternalServiceName(String externalServiceName) {
		this.externalServiceName = externalServiceName;
	}

	/**
	 * @return the discription
	 */
	public String getDiscription() {
		return discription;
	}

	/**
	 * @param discription
	 *            the discription to set
	 */
	public void setDiscription(String discription) {
		this.discription = discription;
	}

	/**
	 * @return the integrationServiceBeanName
	 */
	public String getIntegrationServiceBeanName() {
		return integrationServiceBeanName;
	}

	/**
	 * @param integrationServiceBeanName
	 *            the integrationServiceBeanName to set
	 */
	public void setIntegrationServiceBeanName(String integrationServiceBeanName) {
		this.integrationServiceBeanName = integrationServiceBeanName;
	}

	/**
	 * @return the integrationServiceBeanMethodName
	 */
	public String getIntegrationServiceBeanMethodName() {
		return integrationServiceBeanMethodName;
	}

	/**
	 * @param integrationServiceBeanMethodName
	 *            the integrationServiceBeanMethodName to set
	 */
	public void setIntegrationServiceBeanMethodName(String integrationServiceBeanMethodName) {
		this.integrationServiceBeanMethodName = integrationServiceBeanMethodName;
	}

	/**
	 * @return the wsURL
	 */
	public String getWsURL() {
		return wsURL;
	}

	/**
	 * @param wsURL
	 *            the wsURL to set
	 */
	public void setWsURL(String wsURL) {
		this.wsURL = wsURL;
	}

	/**
	 * @return the requestMessageDefinition
	 */
	public IntegrationMessageDefinition getRequestMessageDefinition() {
		return requestMessageDefinition;
	}

	/**
	 * @param requestMessageDefinition
	 *            the requestMessageDefinition to set
	 */
	public void setRequestMessageDefinition(IntegrationMessageDefinition requestMessageDefinition) {
		this.requestMessageDefinition = requestMessageDefinition;
	}

	/**
	 * @return the responseMessageDefinition
	 */
	public IntegrationMessageDefinition getResponseMessageDefinition() {
		return responseMessageDefinition;
	}

	/**
	 * @param responseMessageDefinition
	 *            the responseMessageDefinition to set
	 */
	public void setResponseMessageDefinition(IntegrationMessageDefinition responseMessageDefinition) {
		this.responseMessageDefinition = responseMessageDefinition;
	}

}
